/*小屏幕*/
@media screen and (max-width: 768px) {
  .knowledge {
    width: 100%;
    height: auto;
  }

  .knowledge_center {
    max-width: 768px;
    min-height: calc(579px);
  }

  .knowledge_left {
    width: 100%;
    padding: 80px 0 16px 0;
  }

  .knowledge_right {
    padding: 80px 0 16px 0;
    margin-left: 16px;
    width: 288px;
    display: none;
  }
}

/*平板*/
@media screen and (min-width: 768px) and (max-width: 992px) {
  .knowledge {
    width: 100%;
    height: auto;
  }

  .knowledge_center {
    width: 768px;
    min-height: calc(579px);
  }

  .knowledge_left {
    width: 464px;
    padding: 80px 0 16px 0;
  }

  .knowledge_right {
    padding: 80px 0 16px 0;
    margin-left: 16px;
    width: 288px;
  }
}

/*中等屏幕*/
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .knowledge {
    width: 100%;
    height: auto;
  }

  .knowledge_center {
    width: 960px;
    min-height: calc(579px);
  }

  .knowledge_left {
    width: 656px;
    padding: 80px 0 16px 0;
  }

  .knowledge_right {
    padding: 80px 0 16px 0;
    margin-left: 16px;
    width: 288px;
  }
}

/*大屏幕，或者宽屏*/
@media screen and (min-width: 1200px) {
  .knowledge {
    width: 100%;
    height: auto;
  }

  .knowledge_center {
    width: 1140px;
    min-height: calc(579px);
  }

  .knowledge_left {
    width: 804px;
    padding: 80px 0 16px 0;
  }

  .knowledge_right {
    padding: 80px 0 16px 0;
    margin-left: 16px;
    width: 320px;
  }
}

.knowledge {
  background-color: rgb(231, 234, 238);
}

.knowledge_center {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;

  .knowledge_left {
    .knowledge_left_list {
      background-color: #fff;
      width: 100%;
      height: 100%;
      padding: 16px;

      .knowledge_left_list_item {
        margin-bottom: 20px;
        width: 100%;
        height: 136.5px;
        border-bottom: 1px solid rgb(240, 242, 247);
        overflow: hidden;

        a {
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          text-decoration: none;
          transition: all .5s;

          &:hover {
            .to_list_item_top>b {
              color: #f40a12;
              width: 100%;
              height: 24.5px;
              font-size: 16px;
            }
          }

          .to_list_item_top {
            width: 100%;
            height: 24.5px;
            font-size: 16px;
          }

          .to_list_item_buttom {
            width: 100%;
            height: 92px;
            margin-top: 10px;
            padding: 10px;
            display: flex;
            justify-content: space-between;

            .to_list_item_buttom_left {
              float: left;
              width: 60%;
              height: 100%;
              display: flex;
              flex-direction: column;
              justify-content: space-between;
            }

            .to_list_item_buttom_right {
              width: 120px;
              float: left;
              height: 80px;

              img {
                width: 100%;
                height: 100%;
              }
            }
          }
        }
      }
    }
  }
}

.knowledge_right {
  padding: 80px 0 16px 0;
  margin-left: 16px;
  width: 320px;
}

.knowledge_right_top {
  width: 100%;
  height: 259.05px;
  background-color: #fff;
  margin-bottom: 20.8px;
  padding: 0 16px;

}

.knowledge_right_top_list_item {
  width: 100%;
  height: 32px;
  font-size: 14px;
  padding-top: 17px;
  cursor: pointer;
 
  a {
    display: inline-block;
    display: flex;
    justify-content: space-between;

    .left_item {
      width: 75%;
      height: 22px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      &:hover {
        color: #f40a12;
      }
    }
  }

}
.knowledge_right_bottom {
  width: 100%;
  height: auto;
  background-color: #fff;
}

// 文章标签
.knowledge_right_bottom_article {
  width: 100%;
  height: 305.05px;
  background-color: #fff;
}

// 文章标签
.knowledge_right_bottom_list {
  padding: 16px;
  width: 100%;

  h2 {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
    font-weight: 900;
  }

  .knowledge_right_bottom_list_item {
    a {
      display: inline-block;
      display: flex;
      height: 37px;
      justify-content: space-between;
      cursor: pointer;

      &:hover {
        color: #f40a12;
        transition: color 0.2s;
      }
    }
  }
}

// 其他知识笔记
.otherKnowledge_right_bottom{
  transform: translateY(-60px);
  width: 100%;
  height: 400px;

  .otherKnowledge_right_bottom_list{
    width: 100%;
    .otherKnowledge_right_bottom_list_item{
      width: 100%;
      height: 116px;
      margin-bottom: 15px;
      .otherKnowledge_right_bottom_list_item_top{
        width: 100%;
        height: 24.5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .otherKnowledge_right_bottom_list_item_bottom{
        width: 100%;
        height: 92px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .otherKnowledge_right_bottom_list_item_bottom_left{
          width: 152px;
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
        }
        .otherKnowledge_right_bottom_list_item_bottom_right{
          width: 80px;
          height: 80px;
          img{
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}



.recommended {
  padding: 16px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
  margin: 0;
  border-bottom: 1px solid rgb(240, 242, 247);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}

.slide_right {
  -webkit-animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.recommended {
  width: 100%;
  height: 51px;
  padding: 16px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
  margin: 0;
  border-bottom: 1px solid rgb(240, 242, 247);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}


.bounceInTop {
  -webkit-animation: bounce-in-top 1.1s both;
  animation: bounce-in-top 1.1s both;
}

@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
    transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    -webkit-transform: translateY(-65px);
    transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  72% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  81% {
    -webkit-transform: translateY(-28px);
    transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  95% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
    transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    -webkit-transform: translateY(-65px);
    transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  72% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  81% {
    -webkit-transform: translateY(-28px);
    transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  95% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
